<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 
        状态 input
         input:focus{ 获取焦点
            要修改的代码 
        } 


        disabled 禁用
         enabled   可用的
         readonly

     -->
     <style>
        /* input:disabled{
            background: gray;
        } 
        input:enabled{
            background: green;
        }
        input:checked{
            width:50px; height:50px;
        } */
       
        input{
            border:solid 1px #333;
            outline: none;
        }
        input:hover{
            border: solid 1px red;
        }
        input:focus{
            border: solid 1px blue;
        }
        /* 
        #333 默认
        #666 鼠标划上
        #000 输入内容 
        */
     </style>
</head>
<body>
  <input type="text"  />
  <input type="text" disabled />
  <input type="checkbox"  />
  <input type="radio">  
  <input type="submit" readonly>
</body>
</html>